package com.atguigu.srb.sms;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableFeignClients
@Slf4j
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan({"com.atguigu.srb"})
//@EnableSwagger2
@EnableConfigurationProperties
public class ServiceSmsApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(ServiceSmsApplication.class,args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
